#!/usr/bin/node

const pi = Math.PI;
const Circle = function (radius) {
  this.diameter = function () {
    return 2 * radius;
  }
  this.circumference = function () {
    return pi * 2 * radius;
  }
  this.area = function () {
    return pi * radius * radius;
  }
}

console.log('\n02-exports-object\n:', module);

module.exports = Circle;